#ifndef MODIFYCHECKINDIALOG_H
#define MODIFYCHECKINDIALOG_H

#include <QString>
#include <QDialog>
#include <QLineEdit>
#include <QDateEdit>
#include <QTimeEdit>

namespace Ui {
class ModifyCheckinDialog;
}

class ModifyCheckinDialog : public QDialog
{
    Q_OBJECT

public:
    ModifyCheckinDialog(QWidget *parent = nullptr,
                        const QString &studentName = "",
                        const QString &studentId = "",
                        const QString &checkinDate = "",
                        const QString &checkinTime = "",
                        const QString &status = "",
                        const QString &remarks = "");
    ~ModifyCheckinDialog();

    QString getStudentName() const;
    QString getStudentId() const;
    QString getCheckinDate() const;
    QString getCheckinTime() const;
    QString getStatus() const;
    QString getRemarks() const;

private slots:
    void on_pushButtonConfirm_clicked();
    void on_pushButtonExit_clicked();

private:
    Ui::ModifyCheckinDialog *ui;
    QLineEdit *lineEditStudentName;
    QLineEdit *lineEditStudentId;
    QDateEdit *dateEditcheckinDate;
    QTimeEdit *timeEditcheckinTime;
    QLineEdit *lineEditStatus;
    QLineEdit *lineEditRemarks;
};


#endif // MODIFYCHECKINDIALOG_H
